// 设置元素宽高
@mixin wh($width, $height) {
    width: $width;
    height: $height;
}
// 设置字体大小及颜色
@mixin fs($fontSize, $color) {
    font-size: $fontSize;
    color: $color;
}
// 设置高度跟行高
@mixin lineHeight($height, $lineHeight: $height) {
    height: $height;
    line-height: $lineHeight;
}

@mixin border($color, $borderRadius) {
    border: 1px solid $color;
    border-radius: $borderRadius;
}

@mixin mr($marginRight) {
    margin-right: $marginRight;
}

// 设置css3样式过度时长
@mixin transition($time) {
    -webkit-transition: $time;
    transition: $time;
}
  
@mixin ulList($liHeight, $liPadding) {
    list-style: none;
    margin: 0;
    padding: 0;
    li {
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: $liPadding;
        height: $liHeight;
        line-height: $liHeight;
        list-style-image: none;
        list-style-type: none;
    }
}